#!/usr/bin/perl

use strict;
use warnings;

my $var = "Test";

sub mysub
{
    my $flag = 1;

    $flag = 0;

    print "Foo\n";

    if ($flag)
    {
        print "Bar\n";
    }

    return;
}

mysub();

$var .= "More";

